package com.edu.service.impl;

import com.edu.service.UserService;
import org.springframework.stereotype.Service;

/**
 * @Author:何包蛋
 * @Date :2022/11/3 - 11 - 03 - 15:26
 */

@Service
public class UserServiceImpl implements UserService {
    public int addUser() {
        System.out.println("添加了用户");
        return 1;
    }

    public void delUser() {
        System.out.println("删除了用户");

    }

    public void updateUser() {
        System.out.println("修改了用户");
    }

    public void getUser(int userId) {
        System.out.println("查询"+userId+"号用户");
    }
}
